package com.ruoyi.common.enums;

/**
 * @author 天宇宇宇宇宇
 * @date 2021/8/23 22:32
 * 数值英文描述各种表达yes或no的枚举
 */
public enum YesOrNoEnum {
	YES(1,"YES","是"),
	NO(0,"NO","否"),
	;

	private final int code;

	private final String name;

	private final String desc;

	YesOrNoEnum(int code, String name, String desc) {
		this.code = code;
		this.name = name;
		this.desc = desc;
	}

	public int getCode() {
		return code;
	}

	public String getName() {
		return name;
	}

	public String getDesc() {
		return desc;
	}
}
